package com.jml.feign.controller;


import com.jml.feign.APiFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignController {

	@Autowired
	private APiFeign apiFeign;

	@RequestMapping("/feignMember")
	public String feignMember(){
		String member = apiFeign.getMember();
		return member;
	}
}
